package com.seh.contentcenter.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class DeliverDTO {
    //订单id
    private Integer deliverId;
    //下单用户id
    private Integer userId;
    //发布人ID
    private Integer issuerId;
    //商品id
    private Integer goodsId;
    //发货地址id
    private Integer addressId;
    //收货地址id
    private Integer receiveId;
    //订单总价
    private Double deliverPrice;
    //订单状态
    private Integer deliverStatus;
    //支付方式
    private String paymentMethod;
    //下单时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    //支付时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date paymentTime;
    //发货时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date shippingTime;
    //成交时间
//    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private String confirmTime;
    //快递详情
    private String deliverDesc;
    //取件码
    private String deliverCode;
    //逻辑删除
    private Integer isDel;
    //代取人的信息
    private UserDTO userDTO;

    private List<AddressInfoDTO> addressInfoDTOList;

    //发货地址
    private String addressName;
    //收货地址
    private String receiveName;
    //发布者的信息
    private UserDTO issuerDTO;

}
